package cn.j0n4than.api.entity.pojo;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author jonathan
 */
public class UserLoginPojo implements Serializable {

    @NotEmpty(message = "用户名不能为空")
    public String username;

    @NotEmpty(message = "密码不能为空")
    public String password;

    @Override
    public String toString() {
        return "UserLoginPojo{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
